<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <title>后台管理系统-登录页</title>
    <!-- 导入LayUI样式文件 -->
    <link rel="stylesheet" type="text/css" href="./assets/lib/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="./assets/css/login1.css" />
</head>

<body>
    <div class="layui-container">
        <div class="admin-login-background">
            <div class="login-form">
                <form class="layui-form" action="" id="form_login">
                    <div class="layui-form-item logo-title">
                        <h1>大事件后台管理系统</h1>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-username" for="username"></label>
                        <input type="text" name="username" lay-verify="required" placeholder="用户名或者邮箱" autocomplete="off" class="layui-input" v alue="" />
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-password" for="password"></label>
                        <input type="password" name="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input" value="" />
                    </div>
                    <div class="layui-form-item">
                        <button class="layui-btn layui-btn layui-btn-normal layui-btn-fluid" lay-submit="" lay-filter="login">登 入</button>
                    </div>
                    <div class="layui-form-item links">
                        <a href="javascript:;" id="link_reg">去注册</a>
                    </div>
                </form>

                <form class="layui-form" action="" id="form_reg" style="display: none">
                    <div class="layui-form-item logo-title">
                        <h1>大事件后台管理系统</h1>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-username" for="username"></label>
                        <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 密码 -->
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-password" for="password"></label>
                        <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 密码确认框 -->
                    <div class="layui-form-item">
                        <label class="layui-icon layui-icon-password" for="repassword"></label>
                        <input type="password" name="repassword" required lay-verify="required|pwd|repwd" placeholder="再次确认密码" autocomplete="off" class="layui-input" />
                    </div>
                    <!-- 注册按钮 -->
                    <div class="layui-form-item">
                        <!-- 注意：表单提交按钮和普通按钮的区别，就是 lay-submit 属性 -->
                        <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>注册</button>
                    </div>
                    <div class="layui-form-item links">
                        <a href="javascript:;" id="link_login">去登录</a>
                    </div>
                </form>
            </div>
        </div>
        <div id="particles" style="width: 100%; height: 100%"></div>
    </div>

    </div>

    <script type="text/javascript" src="./assets/lib/layui/layui.all.js"></script>
    <script type="text/javascript" src="./assets/lib/jquery.js"></script>
    <script src="./assets/js/lizi/jquery.particleground.min.js"></script>
    <script src="./assets/js/baseAPI.js"></script>
    <script src="./assets/js/login.js"></script>
    <script>
        $("#particles").particleground({
            dotColor: "#7ec7fd",
            lineColor: "#7ec7fd",
        });
    </script>
</body>

</html>